﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ListaProdutosPedido.aspx.cs" Inherits="WebApplication1.ListaProdutosPedido" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:LinkButton runat="server" ID="btnVoltar" Text="Voltar" 
        onclick="btnVoltar_Click"></asp:LinkButton>
        <br>
    <div style="font: 12pt verdana; color: darkred">
        <i><b>
            Lista de produtos do pedido <%= Request.QueryString["idPedido"] %> </i></b>
    </div>
    <asp:Label ID="lblStatus" runat="server"></asp:Label>
   <br />
    <br />

    <asp:DataList ID="MyDataList"  RepeatColumns="2" RepeatDirection="Horizontal" runat="server"
        Width="100%" onitemdatabound="MyDataList_ItemDataBound">
        <%-- Create a DataList control template named "ItemTemplate". --%>
        <ItemTemplate>
            <div style="padding: 25,15,15,15; font-size: 10pt; font-family: Verdana">
                
                <asp:Literal ID="litImg" runat="server" /><br>
                <asp:Literal ID="litName" runat="server" /><br>
                <hr>
                
            </div>
        </ItemTemplate>
    </asp:DataList>
</asp:Content>
